package cn.wolfcode.shop.service.impl;

import cn.wolfcode.shop.domain.Brand;
import cn.wolfcode.shop.mapper.BrandMapper;
import cn.wolfcode.shop.service.IBrandService;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@Service
public class BrandServiceImpl implements IBrandService {
    @Autowired
    private BrandMapper brandMapper;

    /**
     * 查询所有品牌
     * @return
     */
    @Override
    public List<Brand> selectAll() {
        return brandMapper.selectAll();
    }
}
